﻿@using Orchard.Core.Contents;
@if (AuthorizedFor(Permissions.EditContent)) {
    Script.Require("OrchardPortlets").AtHead();
    Style.Require("OrchardPortlets");
    
    @Display(Model.Child)
}
else {  
    @Display(Model.Child)
}